package org.dromara.stock.service;

import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.stock.domain.bo.AttentionGroupBo;
import org.dromara.stock.domain.vo.AttentionGroupVo;

import java.util.Collection;
import java.util.List;

/**
 * 自选股分组Service接口
 *
 * @author dongfs
 * @date 2024-06-30
 */
public interface IAttentionGroupService {

    /**
     * 查询自选股分组
     */
    AttentionGroupVo queryById(Long id);

    /**
     * 查询自选股分组列表
     */
    TableDataInfo<AttentionGroupVo> queryPageList(AttentionGroupBo bo, PageQuery pageQuery);

    /**
     * 查询自选股分组列表
     */
    List<AttentionGroupVo> queryList(AttentionGroupBo bo);

    /**
     * 新增自选股分组
     */
    Boolean insertByBo(AttentionGroupBo bo);

    /**
     * 修改自选股分组
     */
    Boolean updateByBo(AttentionGroupBo bo);

    /**
     * 校验并批量删除自选股分组信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
